<div class="titlebar fn-fb">订单信息</div>
<table class="pure-table">
    <tr><td>订单号:</td><td>{$info.order_no}</td></tr>
    <tr><td>标题:</td><td>{$info.title}</td></tr>
    <tr><td>问题:</td><td>{$info.question}</td></tr>
    <tr><td>紧急程度:</td><td>{if $info.urgent == 1}<span class="badge bg-blue m3">中等</span>{elseif $info.urgent == 2}<span class="badge bg-yellow m3">危险</span>{elseif $info.urgent == 3}<span class="badge bg-red m3">超急</span>{else /}<span class="badge bg-danger m3">一般</span>{/if}</td></tr>
    <tr><td>用户:</td><td>{$info.user.nickname}</td></tr>
    <tr><td>工程师:</td><td>{$info.engineer.title}</td></tr>
    <tr><td>价格:</td><td>{$info.price|money}</td></tr>
    <tr><td>评价:</td><td>{$info.rate}</td></tr>
    <tr><td>创建时间:</td><td>{$info->create_time|date='Y-m-d H:i'}</td></tr>
    <tr><td>更新时间:</td><td>{$info->update_time|date='Y-m-d H:i'}</td></tr>
    {if $info->solve_time} <tr><td>解决时间:</td><td>{$info->solve_time|date='Y-m-d H:i'}</td></tr>{/if}
    <tr><td>状态:</td><td>{if $info.state == 1}<span class="badge bg-red m3">待付费</span>{elseif $info.state == 2}<span class="badge bg-yellow m3">待评价</span>{elseif $info.state == 3}<span class="badge bg-danger m3">已关闭</span>{else /}<span class="badge bg-green m3">新工单</span>{/if}</td></tr>
    <tr><td class="w120">图片:</td><td>{if $imgs}{foreach $imgs as $img}<img src="{$img}" class="w80" style="padding: 0px 10px;">{/foreach}{/if}</td></tr>
</table>
{if count($info.process)}
<div class="titlebar fn-fb">订单流转</div>
<table class="pure-table">
    <thead>
    <tr>
        <th class="w100 fn-tac">工程师</th>
        <th>备注</th>
        <th class="w200 fn-tac">创建时间</th>
    </tr>
    </thead>
    <tbody>
    {foreach $info.process as $vo}
    <tr>
        <td class="fn-tac">{$vo.engineer.title}</td>
        <td>{$vo.remarks}</td>
        <td class="fn-tac">{$vo->create_time|date='Y-m-d H:i'}</td>
    </tr>
    {/foreach}
    </tbody>
</table>
{/if}